<template>
  <div class="container">
    <div style="">
      <div class="card_nd_title">
        <span>影像学检查</span>
        <div class="line" style="width:80px;"></div>
      </div>
      <div class="content_box">
        <div class="card_content" v-if="report.extremityVesselCta !== null && report.extremityVesselCta !== '——'">
          <div>
            <span style="font-size: 16px;color: #000;">下肢血管CTA</span>
            <div style="float:right">
              <a-badge :color="report.extremityVesselCta == '正常' ? '#01CD9C' : 'red'" /><span
                style="font-size:12px"
                >{{ report.extremityVesselCta }}</span
              >
            </div>
          </div>
        </div>
        <div class="card_content" v-if="report.extremityVesselDsa !== null && report.extremityVesselDsa !== '——'">
          <div>
            <span style="font-size: 16px;color: #000;">下肢血管DSA</span>
            <div style="float:right">
              <a-badge :color="report.extremityVesselDsa == '正常' ? '#01CD9C' : 'red'" /><span
                style="font-size:12px"
                >{{ report.extremityVesselDsa }}</span
              >
            </div>
          </div>
        </div>
        <div class="card_content" v-if="report.extremityVesselMri !== null && report.extremityVesselMri !== '——'">
          <div>
            <span style="font-size: 16px;color: #000;">下肢血管MRI</span>
            <div style="float:right">
              <a-badge :color="report.extremityVesselMri == '正常' ? '#01CD9C' : 'red'" /><span
                style="font-size:12px"
                >{{ report.extremityVesselMri }}</span
              >
            </div>
          </div>
        </div>
        <div class="card_content" v-if="report.extremityVesselBi !== null && report.extremityVesselBi !== '——'">
          <div>
            <span style="font-size: 16px;color: #000;">下肢血管B超</span>
            <div style="float:right">
              <a-badge :color="report.extremityVesselBi == '正常' ? '#01CD9C' : 'red'" /><span style="font-size:12px">{{
                report.extremityVesselBi
              }}</span>
            </div>
          </div>
        </div>
        <div class="card_content" v-if="report.footXray !== null && report.footXray !== '——'">
          <div>
            <span style="font-size: 16px;color: #000;">足X射线</span>
            <div style="float:right">
              <a-badge :color="report.footXray == '正常' ? '#01CD9C' : 'red'" /><span style="font-size:12px">{{
                report.footXray
              }}</span>
            </div>
          </div>
        </div>
        <div class="card_content" v-if="report.other !== null && report.other !== '——'">
          <div>
            <span style="font-size: 16px;color: #000;">其他信息</span>
            <div style="float:right">
              <a-badge :color="report.other == '正常' ? '#01CD9C' : 'red'" /><span style="font-size:12px">{{
                report.other
              }}</span>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Iconography',
  props: ['report'],
  data() {
    return {}
  },
  methods: {}
}
</script>

<style lang="less" scoped>
// /deep/ .ant-descriptions-item-label {
//   width: 25% !important;
// }
// /deep/ .ant-descriptions-item-content {
//   width: 75% !important;
// }
@media print {
  .container {
    page-break-after: always;
  }
}
.container {
  padding: 50px 24px 0 24px;
}

.card_nd_title {
  margin-bottom: 30px;
  span {
    font-size: 16px;
    // padding-left: 10px;
    font-weight: bold;
    color: #000;
  }
}
.line {
  height: 6px;
  border-radius: 6px;
  // margin-left: 10px;
  background-color: #00b5d4;
  opacity: 0.3;
}
.content_box {
  column-count: 2;
  // display: flex;
  // flex-wrap: wrap;
  // justify-content: space-between;
}
// .left_box {
//   width: 45%;
//   display: flex;
//   flex-direction: column;
// }
// .right_box {
//   width: 45%;
//   display: flex;
//   flex-direction: column;
// }
.card_content {
  break-inside: avoid;
  // display: inline-block;
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid #ccc;
}
.item {
  margin-bottom: 20px;
}
</style>

